﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace Model
{
	[Serializable]
	public class ClipElement
	{
		#region Constructor

		#endregion

		#region Member

		/// <summary>
		/// Image of the File or String
		/// </summary>
		Image m_elementImage = null;

				
		/// <summary> 
		/// TRUE, if copy - FALSE, if cut
		/// </summary>
		bool m_copy = true;

		/// <summary>
		/// True, if the element is selected for copy or cut - false, else
		/// </summary>
		bool m_isSelected = true;

		
		#endregion


		#region Properties


		/// <summary>
		/// Image of the File or String
		/// </summary>
		[System.Xml.Serialization.XmlElement("IconOfTheElement", typeof(System.Drawing.Image))]
		public Image ElementImage
		{
			get { return m_elementImage; }
			set { m_elementImage = value; }
		}

		/// <summary> 
		/// TRUE, if copy - FALSE, if cut
		/// </summary>
		[System.Xml.Serialization.XmlElement("CopyOrCut", typeof(System.Boolean))]
		public bool Copy
		{
			get { return m_copy; }
			set { m_copy = value; }
		}

		/// <summary>
		/// True, if the element is selected for copy or cut - false, else
		/// </summary>
		[System.Xml.Serialization.XmlElement("IsSelectedForCopy", typeof(System.Boolean))]
		public bool IsSelected
		{
			get { return m_isSelected; }
			set { m_isSelected = value; }
		}


		#endregion
	}
}
